-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering #9844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering #9844
Conversation
|
@blueorangutan package |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9844 +/- ##
=========================================
Coverage 15.12% 15.13%
- Complexity 11268 11272 +4
=========================================
Files 5408 5408
Lines 473954 473983 +29
Branches 57810 57818 +8
=========================================
+ Hits 71709 71724 +15
- Misses 394231 394240 +9
- Partials 8014 8019 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11417 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11695)
|
vishesh92
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm. didn't test
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
borisstoyanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, following the steps I couldn't reproduce
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 11510 |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11515 |
harikrishna-patnala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
|
@blueorangutan test |
|
@rohityadavcloud a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11759)
|
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
…custom constrained/unconstrained service offering
e5e60d8 to
0e853e9
Compare
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
Outdated
Show resolved
Hide resolved
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12022 |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12023 |
|
@JoaoJandre @BryanMLima , are you ok with this? |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-12083)
|
ping, sorry for the pressurem but I'd like to get as much in for 4.19 as possible. |
* 4.20: linstor: Fix ZFS snapshot backup (#10219) fix listing of VMs by network (#10204) Configure org.eclipse.jetty.server.Request.maxFormKeys from server.properties and increase the default value (#10214) api: fix access for listSystemVmUsageHistory (#10032) Fix NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering (#9844)
…custom constrained/unconstrained service offering (apache#9844)
…custom constrained/unconstrained service offering (apache#9844)
Description
This PR fixes NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering.
Fixes #9834 & #9836
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested host rolling maintenance with custom constrained/unconstrained service offering & service offering without host tags, checked the rolling maintenance cmd sent to KVM host without any NPEs.
How did you try to break this feature and the system with this change?